package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AmazonShopProduct", catalog="Id")
public class TpAmazonShopProduct extends BaseEntity<TpAmazonShopProduct> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="SellerSku", nameJava="sellerSku", typeDataBase="varchar")
	private String sellerSku;
	@YsField(nameDataBase="ShopGuid", nameJava="shopGuid", typeDataBase="varchar")
	private String shopGuid;
	@YsField(nameDataBase="ShopId", nameJava="shopId", typeDataBase="bigint")
	private Long shopId;
	@YsField(nameDataBase="MarketplaceId", nameJava="marketplaceId", typeDataBase="varchar")
	private String marketplaceId;
	@YsField(nameDataBase="Asin", nameJava="asin", typeDataBase="varchar")
	private String asin;
	@YsField(nameDataBase="FnSku", nameJava="fnSku", typeDataBase="varchar")
	private String fnSku;
	@YsField(nameDataBase="MainImage", nameJava="mainImage", typeDataBase="varchar")
	private String mainImage;
	@YsField(nameDataBase="SizeLength", nameJava="sizeLength", typeDataBase="decimal")
	private BigDecimal sizeLength;
	@YsField(nameDataBase="SizeWidth", nameJava="sizeWidth", typeDataBase="decimal")
	private BigDecimal sizeWidth;
	@YsField(nameDataBase="SizeHeight", nameJava="sizeHeight", typeDataBase="decimal")
	private BigDecimal sizeHeight;
	@YsField(nameDataBase="PackageLength", nameJava="packageLength", typeDataBase="decimal")
	private BigDecimal packageLength;
	@YsField(nameDataBase="PackageWidth", nameJava="packageWidth", typeDataBase="decimal")
	private BigDecimal packageWidth;
	@YsField(nameDataBase="PackageHeight", nameJava="packageHeight", typeDataBase="decimal")
	private BigDecimal packageHeight;
	@YsField(nameDataBase="PackageWeight", nameJava="packageWeight", typeDataBase="decimal")
	private BigDecimal packageWeight;
	@YsField(nameDataBase="ProductType", nameJava="productType", typeDataBase="varchar")
	private String productType;
	@YsField(nameDataBase="SalesRank", nameJava="salesRank", typeDataBase="int")
	private Integer salesRank;
	@YsField(nameDataBase="Brand", nameJava="brand", typeDataBase="varchar")
	private String brand;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="LastUpdatedTime", nameJava="lastUpdatedTime", typeDataBase="datetime")
	private Date lastUpdatedTime;
	@YsField(nameDataBase="FulfillableQuantity", nameJava="fulfillableQuantity", typeDataBase="int")
	private Integer fulfillableQuantity;
	@YsField(nameDataBase="InboundWorkingQuantity", nameJava="inboundWorkingQuantity", typeDataBase="int")
	private Integer inboundWorkingQuantity;
	@YsField(nameDataBase="UnfulfillableQuantity", nameJava="unfulfillableQuantity", typeDataBase="int")
	private Integer unfulfillableQuantity;
	@YsField(nameDataBase="ReservedQuantity", nameJava="reservedQuantity", typeDataBase="int")
	private Integer reservedQuantity;
	@YsField(nameDataBase="ListingPrice", nameJava="listingPrice", typeDataBase="decimal")
	private BigDecimal listingPrice;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="FbaCore", nameJava="fbaCore", typeDataBase="varchar")
	private String fbaCore;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;
	@YsField(nameDataBase="Sku", nameJava="sku", typeDataBase="varchar")
	private String sku;
	@YsField(nameDataBase="isSign", nameJava="isSign", typeDataBase="varchar")
	private String isSign;
	@YsField(nameDataBase="SessionsNum", nameJava="sessionsNum", typeDataBase="int")
	private Integer sessionsNum;
	@YsField(nameDataBase="RecommendPrice", nameJava="recommendPrice", typeDataBase="decimal")
	private BigDecimal recommendPrice;
	@YsField(nameDataBase="CommoditySession", nameJava="commoditySession", typeDataBase="decimal")
	private BigDecimal commoditySession;
	@YsField(nameDataBase="Num", nameJava="num", typeDataBase="int")
	private Integer num;
	@YsField(nameDataBase="Maintenance", nameJava="maintenance", typeDataBase="varchar")
	private String maintenance;
	@YsField(nameDataBase="CountIsShow", nameJava="countIsShow", typeDataBase="tinyint")
	private Integer countIsShow;
	@YsField(nameDataBase="SignCode", nameJava="signCode", typeDataBase="varchar")
	private String signCode;
	@YsField(nameDataBase="PrepInstructionList", nameJava="prepInstructionList", typeDataBase="varchar")
	private String prepInstructionList;
	@YsField(nameDataBase="EsAnnexFile", nameJava="esAnnexFile", typeDataBase="varchar")
	private String esAnnexFile;
	@YsField(nameDataBase="LabelOwner", nameJava="labelOwner", typeDataBase="varchar")
	private String labelOwner;
	@YsField(nameDataBase="PrepOwner", nameJava="prepOwner", typeDataBase="varchar")
	private String prepOwner;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShopProduct setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TpAmazonShopProduct setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpAmazonShopProduct setCode(String code) {
		this.code = code;
		return this;
	}
	public String getSellerSku() {
		return sellerSku;
	}
	public TpAmazonShopProduct setSellerSku(String sellerSku) {
		this.sellerSku = sellerSku;
		return this;
	}
	public String getShopGuid() {
		return shopGuid;
	}
	public TpAmazonShopProduct setShopGuid(String shopGuid) {
		this.shopGuid = shopGuid;
		return this;
	}
	public Long getShopId() {
		return shopId;
	}
	public TpAmazonShopProduct setShopId(Long shopId) {
		this.shopId = shopId;
		return this;
	}
	public String getMarketplaceId() {
		return marketplaceId;
	}
	public TpAmazonShopProduct setMarketplaceId(String marketplaceId) {
		this.marketplaceId = marketplaceId;
		return this;
	}
	public String getAsin() {
		return asin;
	}
	public TpAmazonShopProduct setAsin(String asin) {
		this.asin = asin;
		return this;
	}
	public String getFnSku() {
		return fnSku;
	}
	public TpAmazonShopProduct setFnSku(String fnSku) {
		this.fnSku = fnSku;
		return this;
	}
	public String getMainImage() {
		return mainImage;
	}
	public TpAmazonShopProduct setMainImage(String mainImage) {
		this.mainImage = mainImage;
		return this;
	}
	public BigDecimal getSizeLength() {
		return sizeLength;
	}
	public TpAmazonShopProduct setSizeLength(BigDecimal sizeLength) {
		this.sizeLength = sizeLength;
		return this;
	}
	public BigDecimal getSizeWidth() {
		return sizeWidth;
	}
	public TpAmazonShopProduct setSizeWidth(BigDecimal sizeWidth) {
		this.sizeWidth = sizeWidth;
		return this;
	}
	public BigDecimal getSizeHeight() {
		return sizeHeight;
	}
	public TpAmazonShopProduct setSizeHeight(BigDecimal sizeHeight) {
		this.sizeHeight = sizeHeight;
		return this;
	}
	public BigDecimal getPackageLength() {
		return packageLength;
	}
	public TpAmazonShopProduct setPackageLength(BigDecimal packageLength) {
		this.packageLength = packageLength;
		return this;
	}
	public BigDecimal getPackageWidth() {
		return packageWidth;
	}
	public TpAmazonShopProduct setPackageWidth(BigDecimal packageWidth) {
		this.packageWidth = packageWidth;
		return this;
	}
	public BigDecimal getPackageHeight() {
		return packageHeight;
	}
	public TpAmazonShopProduct setPackageHeight(BigDecimal packageHeight) {
		this.packageHeight = packageHeight;
		return this;
	}
	public BigDecimal getPackageWeight() {
		return packageWeight;
	}
	public TpAmazonShopProduct setPackageWeight(BigDecimal packageWeight) {
		this.packageWeight = packageWeight;
		return this;
	}
	public String getProductType() {
		return productType;
	}
	public TpAmazonShopProduct setProductType(String productType) {
		this.productType = productType;
		return this;
	}
	public Integer getSalesRank() {
		return salesRank;
	}
	public TpAmazonShopProduct setSalesRank(Integer salesRank) {
		this.salesRank = salesRank;
		return this;
	}
	public String getBrand() {
		return brand;
	}
	public TpAmazonShopProduct setBrand(String brand) {
		this.brand = brand;
		return this;
	}
	public Date getLastUpdatedTime() {
		return lastUpdatedTime;
	}
	public TpAmazonShopProduct setLastUpdatedTime(Date lastUpdatedTime) {
		this.lastUpdatedTime = lastUpdatedTime;
		return this;
	}
	public Integer getFulfillableQuantity() {
		return fulfillableQuantity;
	}
	public TpAmazonShopProduct setFulfillableQuantity(Integer fulfillableQuantity) {
		this.fulfillableQuantity = fulfillableQuantity;
		return this;
	}
	public Integer getInboundWorkingQuantity() {
		return inboundWorkingQuantity;
	}
	public TpAmazonShopProduct setInboundWorkingQuantity(Integer inboundWorkingQuantity) {
		this.inboundWorkingQuantity = inboundWorkingQuantity;
		return this;
	}
	public Integer getUnfulfillableQuantity() {
		return unfulfillableQuantity;
	}
	public TpAmazonShopProduct setUnfulfillableQuantity(Integer unfulfillableQuantity) {
		this.unfulfillableQuantity = unfulfillableQuantity;
		return this;
	}
	public Integer getReservedQuantity() {
		return reservedQuantity;
	}
	public TpAmazonShopProduct setReservedQuantity(Integer reservedQuantity) {
		this.reservedQuantity = reservedQuantity;
		return this;
	}
	public BigDecimal getListingPrice() {
		return listingPrice;
	}
	public TpAmazonShopProduct setListingPrice(BigDecimal listingPrice) {
		this.listingPrice = listingPrice;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TpAmazonShopProduct setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public String getFbaCore() {
		return fbaCore;
	}
	public TpAmazonShopProduct setFbaCore(String fbaCore) {
		this.fbaCore = fbaCore;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public TpAmazonShopProduct setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public TpAmazonShopProduct setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}
	public String getSku() {
		return sku;
	}
	public TpAmazonShopProduct setSku(String sku) {
		this.sku = sku;
		return this;
	}
	public String getIsSign() {
		return isSign;
	}
	public TpAmazonShopProduct setIsSign(String isSign) {
		this.isSign = isSign;
		return this;
	}
	public Integer getSessionsNum() {
		return sessionsNum;
	}
	public TpAmazonShopProduct setSessionsNum(Integer sessionsNum) {
		this.sessionsNum = sessionsNum;
		return this;
	}
	public BigDecimal getRecommendPrice() {
		return recommendPrice;
	}
	public TpAmazonShopProduct setRecommendPrice(BigDecimal recommendPrice) {
		this.recommendPrice = recommendPrice;
		return this;
	}
	public BigDecimal getCommoditySession() {
		return commoditySession;
	}
	public TpAmazonShopProduct setCommoditySession(BigDecimal commoditySession) {
		this.commoditySession = commoditySession;
		return this;
	}
	public Integer getNum() {
		return num;
	}
	public TpAmazonShopProduct setNum(Integer num) {
		this.num = num;
		return this;
	}
	public String getMaintenance() {
		return maintenance;
	}
	public TpAmazonShopProduct setMaintenance(String maintenance) {
		this.maintenance = maintenance;
		return this;
	}
	public Integer getCountIsShow() {
		return countIsShow;
	}
	public TpAmazonShopProduct setCountIsShow(Integer countIsShow) {
		this.countIsShow = countIsShow;
		return this;
	}
	public String getSignCode() {
		return signCode;
	}
	public TpAmazonShopProduct setSignCode(String signCode) {
		this.signCode = signCode;
		return this;
	}
	public String getPrepInstructionList() {
		return prepInstructionList;
	}
	public TpAmazonShopProduct setPrepInstructionList(String prepInstructionList) {
		this.prepInstructionList = prepInstructionList;
		return this;
	}
	public String getEsAnnexFile() {
		return esAnnexFile;
	}
	public TpAmazonShopProduct setEsAnnexFile(String esAnnexFile) {
		this.esAnnexFile = esAnnexFile;
		return this;
	}
	public String getLabelOwner() {
		return labelOwner;
	}
	public TpAmazonShopProduct setLabelOwner(String labelOwner) {
		this.labelOwner = labelOwner;
		return this;
	}
	public String getPrepOwner() {
		return prepOwner;
	}
	public TpAmazonShopProduct setPrepOwner(String prepOwner) {
		this.prepOwner = prepOwner;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShopProduct setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShopProduct setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShopProduct setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShopProduct tpAmazonShopProduct(
		String guid,
		String code,
		String sellerSku,
		String shopGuid,
		Long shopId,
		String marketplaceId,
		String asin,
		String fnSku,
		String mainImage,
		BigDecimal sizeLength,
		BigDecimal sizeWidth,
		BigDecimal sizeHeight,
		BigDecimal packageLength,
		BigDecimal packageWidth,
		BigDecimal packageHeight,
		BigDecimal packageWeight,
		String productType,
		Integer salesRank,
		String brand,
		Date lastUpdatedTime,
		Integer fulfillableQuantity,
		Integer inboundWorkingQuantity,
		Integer unfulfillableQuantity,
		Integer reservedQuantity,
		BigDecimal listingPrice,
		String currencyCode,
		String fbaCore,
		String createUser,
		String updateUser,
		String sku,
		String isSign,
		Integer sessionsNum,
		BigDecimal recommendPrice,
		BigDecimal commoditySession,
		Integer num,
		String maintenance,
		Integer countIsShow,
		String signCode,
		String prepInstructionList,
		String esAnnexFile,
		String labelOwner,
		String prepOwner,
		Integer status
			) {
		TpAmazonShopProduct entity = new TpAmazonShopProduct();
		entity.setGuid(guid);
		entity.setCode(code);
		entity.setSellerSku(sellerSku);
		entity.setShopGuid(shopGuid);
		entity.setShopId(shopId);
		entity.setMarketplaceId(marketplaceId);
		entity.setAsin(asin);
		entity.setFnSku(fnSku);
		entity.setMainImage(mainImage);
		entity.setSizeLength(sizeLength);
		entity.setSizeWidth(sizeWidth);
		entity.setSizeHeight(sizeHeight);
		entity.setPackageLength(packageLength);
		entity.setPackageWidth(packageWidth);
		entity.setPackageHeight(packageHeight);
		entity.setPackageWeight(packageWeight);
		entity.setProductType(productType);
		entity.setSalesRank(salesRank);
		entity.setBrand(brand);
		entity.setLastUpdatedTime(lastUpdatedTime);
		entity.setFulfillableQuantity(fulfillableQuantity);
		entity.setInboundWorkingQuantity(inboundWorkingQuantity);
		entity.setUnfulfillableQuantity(unfulfillableQuantity);
		entity.setReservedQuantity(reservedQuantity);
		entity.setListingPrice(listingPrice);
		entity.setCurrencyCode(currencyCode);
		entity.setFbaCore(fbaCore);
		entity.setCreateUser(createUser);
		entity.setUpdateUser(updateUser);
		entity.setSku(sku);
		entity.setIsSign(isSign);
		entity.setSessionsNum(sessionsNum);
		entity.setRecommendPrice(recommendPrice);
		entity.setCommoditySession(commoditySession);
		entity.setNum(num);
		entity.setMaintenance(maintenance);
		entity.setCountIsShow(countIsShow);
		entity.setSignCode(signCode);
		entity.setPrepInstructionList(prepInstructionList);
		entity.setEsAnnexFile(esAnnexFile);
		entity.setLabelOwner(labelOwner);
		entity.setPrepOwner(prepOwner);
		entity.setStatus(status);
		return entity;
	}
}